package hu.arguscab.ai.game;

import hu.arguscab.ai.Model;
import hu.arguscab.ai.Node;
import hu.arguscab.ai.Terminator;
import hu.arguscab.game.CompoundAction;

/**
 *
 * @author sharp
 */
public class GameTerminator extends Terminator<CompoundAction, Model> {

	@Override
	public boolean isTerminate(Node<Model> node) {
		if ( node.getDepth() >= getMaxDepth() )
			return true;
		return false;
	}
}
